
export default defineAppConfig({
  pages: [
    'pages/login/index',
    'pages/my/index',
    "pages/abnormal/index",
    'pages/map/index',
    'pages/task/index',
    'pages/waybilltask/index',
    'pages/msg/index',

  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black',
  },
  tabBar: {
    list: [
      {
        pagePath: 'pages/task/index',
        text: '任务',
        iconPath:"pages/imgs/order.png",
      },
      {
        pagePath: 'pages/msg/index',
        text: '消息',
        iconPath:"pages/imgs/msg.png",
      },
      {
        pagePath: 'pages/my/index',
        text: '我的',
        iconPath:"pages/imgs/my.png",
      },
    ],
    color: '#333',
    selectedColor: '#333',
    backgroundColor: '#fff',
    borderStyle: 'white',
  },
  permission: {
    'scope.userLocation': {
      desc: '你的位置信息将用于小程序位置接口的效果展示'
    }
  },
  "requiredBackgroundModes": ["audio", "location"],
  "requiredPrivateInfos": ["getLocation"],
})
